package com.lshlmy.project2.controller;


import com.lshlmy.project2.service.ITestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author : xiangming.liang
 * @since : 2022/6/1
 */
@RestController
@RequestMapping("test")
public class TestController {


    @Autowired
    private ITestService testServiceImpl;

    @RequestMapping("listMsg")
    public Object listMsg() {
        return testServiceImpl.listMsg();
    }

}
